package fanxing.lianxi.deno06;

import java.util.Arrays;

public class MainTest01 {
    public static void main(String[] args) {
        String[] arr = {"aa","bb","cc"};
        String[] newArr = new String[6];
        //实现数组拷贝
        System.arraycopy(arr ,0, newArr, 0, arr.length);
        System.out.println(Arrays.toString(newArr));
    }
}
